package com.shell.provider;

import com.shell.governor.modules.po.PubApplication;
import com.shell.governor.modules.service.PubApplicationService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PubApplicationProvider {
	@Autowired
	private PubApplicationService pubApplicationService;

	@RequestMapping({ "/application/getApplication" })
	public List<PubApplication> getApplication() {
		return this.pubApplicationService.getApplication(null);
	}
}
